import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios';  
  
// 将axios添加到Vue的原型上  
Vue.prototype.$axios = axios;  
  
// 现在你可以在任何组件中通过this.$axios来访问axios了

Vue.config.productionTip = false
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

